package demo4;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 何华树
 * Date: 2024-08-31
 * Time: 11:46
 */
public class Dog extends Animal{

    public Dog(String name, int age, double weight) {
        super(name, age, weight);
    }
    public void bark() {
        System.out.println(this.name+" 汪汪叫....");
    }
    public void eat() {
        System.out.println(this.name+" 在吃狗粮..");
    }
}
